package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineEdfa;
import io.bdmc.modules.bss.mapper.DeviceMachineEdfaMapper;
import io.bdmc.modules.bss.service.IDeviceMachineEdfaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * edfa盘数据 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-04-28
 */
@Service
public class DeviceMachineEdfaServiceImpl extends ServiceImpl<DeviceMachineEdfaMapper, DeviceMachineEdfa> implements IDeviceMachineEdfaService {
    @Autowired
    DeviceMachineEdfaMapper _devicemachineedfaMapper;

    @Override
    public MyPage<DeviceMachineEdfa> mySelectPage(MyPage<DeviceMachineEdfa> myPage) {
        return _devicemachineedfaMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineEdfa selectLastEdfaData(String diskSn) {
        return _devicemachineedfaMapper.selectLastEdfaData(diskSn);
    }

    @Override
    public MyPage<DeviceMachineEdfa> selectPage(MyPage<DeviceMachineEdfa> myPage, QueryWrapper<DeviceMachineEdfa> w1) {
        return _devicemachineedfaMapper.selectPage(myPage,w1);
    }
}
